package com.jeff.tianti.cms.service;

import com.jeff.tianti.cms.dto.font.ConsultComplianceTo;
import com.jeff.tianti.cms.entity.ConsultCompliance;
import com.jeff.tianti.cms.dao.ConsultComplianceDao;
import com.jeff.tianti.cms.dto.ConsultComplianceQueryDTO;
import com.jeff.tianti.common.service.CommonService;
import com.jeff.tianti.common.entity.PageModel;
import org.springframework.stereotype.Service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
/**
 * @author xujianfang
 * @desc ConsultComplianceService�� 
 * @date 2019-07-03
 */
@Service
public class ConsultComplianceService extends CommonService< ConsultCompliance,String >  {

    @Autowired
    private ConsultComplianceDao consultComplianceDao;

    @Autowired
    public void setConsultComplianceDao(ConsultComplianceDao consultComplianceDao){
      super.setCommonDao(consultComplianceDao);
    }

    public PageModel<ConsultCompliance> queryConsultCompliancePage(ConsultComplianceQueryDTO consultComplianceQueryDTO){
           return this.consultComplianceDao.queryConsultCompliancePage(consultComplianceQueryDTO);
    }

    public List<ConsultCompliance> queryConsultComplianceList(ConsultComplianceQueryDTO consultComplianceQueryDTO){
           return this.consultComplianceDao.queryConsultComplianceList(consultComplianceQueryDTO);
    }


    public PageModel<ConsultCompliance> queryConsultCompliancePages(ConsultComplianceTo consultComplianceTo) {
        return consultComplianceDao.queryConsultCompliancePages(consultComplianceTo);
    }
}